package org.wangp.business.user.repository.es.domain

import org.springframework.data.annotation.Id
import org.springframework.data.elasticsearch.annotations.Document
import org.springframework.data.elasticsearch.annotations.Field
import org.wangp.framework.elasticsearch.domain.BaseDOEs

@Document(indexName = "user", createIndex = true)
data class UserDoEs(

	@Id
	var esId: String? = null,

	@Field
	var uid: Long? = null,

	@Field
	var username: String? = null,

	@Field
	var password: String? = null,
) : BaseDOEs()

